home *** CD-ROM | disk | FTP | other *** search
- The MX2 password system uses five fields separated by a colon.
-
- The file 'passwd' contains all password records.
-
- field 1 userid
- field 2 password
- field 3 path
- field 4 program
- field 5 comment
-
- Example mx2::::
-
- Is the minimum password record. It contains only the userid field with the
- other fields set to null. This would login user 'mx2' with no password to
- the default path 'current path' and run the default program 'gulam.prg'.
-
- Example fred:AXKHRWQ:c\mx2:gulam.prg: login as me using my work id
-
- Would login user 'fred' using encrypted password 'AXKHRWQ' to drive 'c'
- path '/mx2' "note if a drive is specified DO NOT use a colon between the drive
- character and the path" and run program 'gulam.prg'. The comment is not used
- by the program and is there to inform the user. The program field could have
- been a null entry or any other valid program. The program field
- may include subdirectorys. ie ':\mx2\gulam.prg:'
-
- The 'passwd.prg' is used to set and change user passwords. New users must
- have a null field 2 when it is created. Passwords MUST be set with the
- passwd.prg.
-
- USAGE: passwd fred
- ^
- user
-
- Where fred is a system username in field 1 of a password record.
- If there is no password the program will ask for a new password.
- If a password already exists you will be asked for the old password
- first, then if it is correct you can change the password. Passwords must be
- at least 4 characters long.
-
- Examine the supplied passwd file for more examples.
-
-
-